﻿<!--#include file="../Lib/base.asp"-->
<%call islogin%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/public.css" rel="stylesheet" type="text/css" />
<link href="../css/home.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/jquery.js"></script>
<script language="javascript" src="../js/jquery.artDialog.js?skin=default"></script>
<script language="javascript" src="../js/artDialog.iframeTools.js"></script>
<script language="javascript" src="../js/admin.js"></script>
<script>
var displayBar=true;
function switchBar(obj)
{
	if (displayBar)
	{
		window.parent.document.getElementById("frame").cols="0,*";
		displayBar=false;
		$(obj).text("打开左侧")
	}
	else{
		window.parent.document.getElementById("frame").cols="160,*";
		displayBar=true;
		$(obj).text("关闭左侧")
	}
}
$(function(){
	$("#menu dt:first-child").click();
	$(".out").click(function(){
		var throughBox=$.dialog.through;
		throughBox({
				icon:'question',
				content:'确定要退出登录？',
				lock:true,
				opacity:'0.5',
				ok:function(){parent.location.href="login.asp?act=out";},
				cancelVal:'取消',
				cancel:true 
			});
		})	
})
</script>
</head>
<body>
<div id="header">
  <div class="nav"></div>
  <div class="logo"> 您好：<span><%=Cls.loadsession("adminname")%></span>&#12288;<a href="javascript:;" class="out">退出登录</a>&#12288;<a onclick="switchBar(this)" href="javascript:;">关闭左侧</a>
    <dl id="menu">
      <dt onclick="DoLocation(this);setLeft('left.asp?act=index')" class="hover">首页</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=set')">设置</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=menu')">菜单</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=msg')">消息</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=user')">粉丝</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=keyword')">关键字</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=picmsg')">素材</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=plug')">插件</dt>
      <dt onclick="DoLocation(this);setLeft('left.asp?act=help')">教程</dt>
    </dl>
  </div>
</div>
</body>
</html>
